package cn.tedu._06article.mapper;

import cn.tedu._06article.pojo.dto.UserLoginParam;
import cn.tedu._06article.pojo.entity.Article;
import cn.tedu._06article.pojo.vo.ArticleVO;
import cn.tedu._06article.pojo.vo.UserSelectVO;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {

    UserSelectVO select(@Param("username") String username, @Param("password")String password);

    void insertArticle(Article article);

    ArticleVO selectById(Integer id);
}
